<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="include/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>My JSP 'main.jsp' starting page</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<%@ include file="include/common.jsp"%>
<style>
html,body {
	height: 100%;
	width: 100%;
	overflow: hidden;
}
</style>
<script type="text/javascript">
	var con = '${pageContext.request.contextPath}';
	viewEvent = function(eventId) {
	window.open(con+'/event/event-view!view.action?id='
					+ eventId, '_blank');
					
	};
	$(document).ready(function() {
 		setInterval('keepSession();', 180000);
	});
	function keepSession(){
		$.post(con+"/topo/topo!keepSession.action");
	}
</script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/topo/tooltip.js"></script>
</head>
<%
	String _flashPath = request.getContextPath() + "/resources/flash";
	String _reqPath = request.getContextPath();
 %>
<body>

	<object id='mySwf' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'
		codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0'
		height='100%' width='100%'>
		<param name='src'
			value='${pageContext.request.contextPath}/resources/flash/TopoShowMain.swf' />
		<param name='flashVars' value='_flashPath=<%=_flashPath %>&_reqPath=<%=_reqPath %>' />
		<param name="allowFullScreen" value="true" />
		<param name="wmode" value="transparent" />
		<embed name='mySwf'
			src='${pageContext.request.contextPath}/resources/flash/TopoShowMain.swf'
			pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'
			height='100%' width='100%' allowFullScreen="true" flashVars='_flashPath=<%=_flashPath %>&_reqPath=<%=_reqPath %>' />
	</object>

</body>
</html>
